<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>hello</title>
</head>
<body>
<div>
    <a href="ureport/designer" target="_blank">报表设计器页面</a>
    <ul id="ul">

    </ul>
</div>
<script>
    fetch("getReportUl").then(res => res.json()).then(res => {
        document.getElementById("ul").innerHTML = res.map(r => `<li><a href="ureport/preview?_u=file:${r}" target="_blank">${r}</a></li>`).join("");
    });
</script>
</body>
</html>